package com.nari.ysphd.util;

import android.util.Log;

import java.io.FileOutputStream;
import java.io.IOException;

/**
 * Created by Administrator on 2018/2/7.
 */

public class StreamUtil {


    public static void safeClose(FileOutputStream out) {
        if (out != null) {
            try {
                out.close();
            } catch (IOException e) {
                Log.e("PictureUtil", e.getMessage());
            }
        }
    }

}
